wecom bot support [quote] and [image] type message#3371
Conversation
This reverts commit 0c3c99f.
There was a problem hiding this comment.
Code Review
This pull request enhances the WeCom bot endpoint by adding support for downloading and decrypting images, parsing quoted messages, and uploading these images to Dify. Feedback on the changes includes a critical correction to pass the uploaded files as a top-level files parameter in the Dify Chat API invocation rather than nesting them inside inputs. Additionally, it is recommended to fix a typo in the quoted message parsing ("[imgae]" to "[image]") and to add validation checks for input length and PKCS7 padding in the decryption helper to prevent potential runtime exceptions.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
Please bump the version in the manifest. |
I've bumped the version to 0.0.7 in the manifest. |
Summary
issues: #3362
Change Type
Screenshots / Videos
Drag and drop images or videos directly into this box — GitHub uploads them automatically.
Show the fix, the new feature, or before/after behavior for breaking changes.
Version
versioninmanifest.yaml(not the one undermeta)dify_plugin>=0.3.0,<0.6.0is declared inpyproject.tomland locked inuv.lock(or kept inrequirements.txtfor legacy plugins withoutuv.lock) — SDK docsTesting